<?php
/**
 * Created by PhpStorm.
 * User: geolo
 * Date: 2018/11/20
 * Time: 16:52
 */
namespace app\models;
use Yii;
class Vip extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName(){
        return '{{%vip}}';
    }
    /**
     * @inheritdoc
     */
    public function rules(){
        return [
            [['store_id'], 'integer'],
             [['store_id','money'],'required'],

        ];
    }
    /**
     * @inheritdoc
     */
    public function attributeLabels(){
        return[
            ['store_id'=>'商城id'],
            ['money'=>'金额'],
        ];
    }
}